package com.akl.ssmspringboot.service.impl;

import com.akl.ssmspringboot.dao.LoginLogMapper;
import com.akl.ssmspringboot.entity.LoginLog;
import com.akl.ssmspringboot.service.LoginLogService;
import com.akl.ssmspringboot.utils.PageResult;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author guoxy
 * @date 2018/12/11 20:26
 * @description
 */
@Service
public class LoginLogServiceImpl extends ServiceImpl<LoginLogMapper, LoginLog> implements LoginLogService {

    @Resource
    private LoginLogMapper loginLogMapper;

    @Override
    public PageResult<LoginLog> selectUserPage(Page<LoginLog> page) {
        return loginLogMapper.selectPage(page);
    }

    @Override
    public int addLoginLog(LoginLog loginLog) {
        return 0;
    }

    @Override
    public int deleteLoginLog(int id) {
        return 0;
    }
}
